/**
 * 接受一组待定已知值的字符串
 */
function printText(s, alignment) {
    console.log(s, alignment);
}
printText('hello', 'left');
printText('hello', 'right');
printText('hello', 'center');
// printText('hello','top') // 报错
/**
 * 非空断言
 */
function liveDangerously(x) {
    // No error
    console.log(x.toFixed());
}
liveDangerously(1);
